package com.noahsloan.nutils.xml.serial;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotates classes that will become an XML element.
 * 
 * @author noah
 * 
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface XmlElement {
	/**
	 * 
	 * @return the name of the tag to create
	 */
	String tagName();
}
